// import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

//引入pinia
import { createPinia } from 'pinia'
//引入element组件
import ElementPlus from 'element-plus'
//引入饿了么css的组件
import 'element-plus/dist/index.css'

//全局引入axios
// import axios from 'axios'
// 配置baseURL
// axios.defaults.baseURL = "http://git.coding-future.com:19003"


const app = createApp(App)

app.use(router)

//全局注册pinia
app.use(createPinia())
//element组件挂载
app.use(ElementPlus)
//注入axios的依赖
// app.provide('axios', axios)

app.mount('#app')
